package com.info.zhiduoduo.repository.dto.project;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class LongProjectBriefDto {

    private int projectid;
    @ApiModelProperty("项目名称")
    private String projectname;
    @ApiModelProperty("企业id")
    private int compid;
    @ApiModelProperty("企业名称")
    private String compname;
    @ApiModelProperty("创客工作室id")
    private int userid;
    @ApiModelProperty("创客工作室")
    private String username;
    @ApiModelProperty("创客名")
    private String realname;
    @ApiModelProperty("项目分类")
    private int categoryid;
    @ApiModelProperty("项目分类名称")
    private String categoryname;
    @ApiModelProperty("项目金额")
    private BigDecimal projectamount;
    @ApiModelProperty("项目已分批支付的总金额, 此值不得大于订单总金额amount")
    private BigDecimal paidAmount;
    @ApiModelProperty("周期,月份数")
    private int projectcycle;
    @ApiModelProperty("项目开始时间")
    private Date projectstart;
    @ApiModelProperty("项目结束时间")
    private Date projectfinish;
    @ApiModelProperty("1.普票2专票")
    private int invoicetype;
    @ApiModelProperty("项目状态 1: 草稿 2: 已发布 3: 已结束 4:已取消")
    private int state;
    private Date createtime;
    @ApiModelProperty("到期日期, 例如: 2022-07-07")
    private Date expireDate;
    @ApiModelProperty("剩余天数")
    private int leftDays;
    @ApiModelProperty("是否有待验收的子项目 0:否 大于0:是")
    private int checkingSubProject;

    @ApiModelProperty("支付方式ID")
    private Integer payId;

    @ApiModelProperty("支付方式名称")
    private String payName;

    @ApiModelProperty("支付方式别名")
    private String payNameAlias;

    @ApiModelProperty("支付主体")
    private Integer partyId;
}
